﻿using IntelligentAgriculture.Domain.Entity;
using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.UserCommand
{
    public class UserLoginCommand : IRequest<Results<Userinfo>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string? PassWord { get; set; }
        public UserLoginCommand(string? userName, string passWord)
        {
            UserName = userName;
            PassWord = passWord;
        }

    }
}
